<!-- 折叠菜单 -->
<template>
    <el-tooltip content="灰色模式" placement="bottom">
        <svg-icon name="view-fill" @click="changeGray"></svg-icon>
    </el-tooltip>
</template>
<script lang='ts' setup>
import { useSetting } from '@/pinia';
const SettingStore = useSetting()
const changeGray = () => {
    SettingStore.setGray(!SettingStore.gray)
}

</script>
<style scoped></style>